package com.pig4cloud.pigx.knowledge.support.constant;

/**
 * 切片状态
 *
 * @author lengleng
 * @date 2024/5/21
 * <p>
 * 切片状态 0 未切片 1 已切片 9 失败
 */
public enum SliceStatusEnums {

	/**
	 * 未切片
	 */
	UNSLICED("0", "未切片"),
	/**
	 * 已切片
	 */
	SLICED("1", "已切片"),
	/**
	 * 解析中
	 */
	OCR_PARSING("2", "解析中"),

	AI_PARSING("3", "AI解析中"),
	/**
	 * 失败
	 */
	FAILED("9", "失败");

	private final String status;

	private final String desc;

	SliceStatusEnums(String status, String desc) {
		this.status = status;
		this.desc = desc;
	}

	public String getStatus() {
		return status;
	}

	public String getDesc() {
		return desc;
	}

}
